package com.dingreading.cloud.admin.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(25)
@ColumnWidth(17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 13)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER, wrapped = BooleanEnum.TRUE)
public class MemberServiceVo implements Serializable {

    @ColumnWidth(20)
    @ExcelProperty(value = "门店名称")
    private String storeName;

    @ExcelProperty(value = "会员名称")
    private String memberName;

    @ColumnWidth(25)
    @ExcelProperty(value = "到期服务")
    private String overdueInfo;

    @ColumnWidth(25)
    @ExcelProperty(value = "未到期服务")
    private String validInfo;

}
